home *** CD-ROM | disk | FTP | other *** search
- Path: news1.cris.com!Crawford
- From: Crawford@cris.com (CRAWFORD)
- Newsgroups: comp.lang.c
- Subject: Re: malloc
- Date: 6 Feb 1996 03:54:26 GMT
- Organization: Concentric Internet Services
- Message-ID: <4f6jdi$3ii@spectator.cris.com>
- References: <311694DC.23905C8@traffic.jam.net>
- Reply-To: crawford@iac.net
- NNTP-Posting-Host: mariner.cris.com
-
- David Shaffer <dshaffer@traffic.jam.net> writes:
-
- >why does malloc itself give a sigsegv?
-
- Funny, it doesn't when _I_ call it...
-
- It could be the structures used to manage the heap are
- corrupted, ie, you wrote outside your malloc'ed space. Make sure all
- your malloc's are for the correct amount of memory and that you're
- bounds checking.
-
-
- --
- Creature of the wheel, lord of the internal combustion engine.
-
- Robert Crawford crawford@iac.net
- http://www.iac.net/~crawford
-